package components.tools.cutouts
{
	import UIFree.uif_component;
	
	import api.clt_servers;
	
	import classes.clt_events;
	
	import components.clt_component;
	import components.clt_selectBase;
	
	import data.cd_masks;
	
	import flash.geom.Rectangle;

	public class clt_cutoutLayer extends clt_component {
		private var _cutouts: clt_selectBase;
		public function clt_cutoutLayer(parent:uif_component, ax:int=0, ay:int=0, awidth:int=0, aheight:int=0, styleClass:String='') {
			super(parent, ax, ay, awidth, aheight, styleClass);
			var inner: Rectangle = getInner();
			_cutouts = new clt_selectBase(this, cd_masks, clt_servers.MASK_URL, clt_events.SELECTCUTOUT, inner.x, inner.y, inner.width, inner.height, false); 
		}
	}
}